package com.fenghongzhang.day002arouter;

import android.content.Context;
import android.util.Log;

import com.alibaba.android.arouter.facade.Postcard;
import com.alibaba.android.arouter.facade.annotation.Interceptor;
import com.alibaba.android.arouter.facade.callback.InterceptorCallback;
import com.alibaba.android.arouter.facade.template.IInterceptor;

//@Interceptor(priority = 2,name = "test1")
public class MyInter2 implements IInterceptor {
    private static final String TAG = "MyInter2";
    @Override
    public void process(Postcard postcard, InterceptorCallback callback) {
        Log.i(TAG, "process: ");
        callback.onContinue(postcard);
    }

    @Override
    public void init(Context context) {

    }
}
